package com.xgh.design.strategy;

/**
 * @ClassName PrimaryMemberStrategy
 * @Description
 * @Author xinggh
 * @Date 2020/8/6 19:02
 * @Version 1.0
 **/
public class PrimaryMemberStrategy implements MemberStrategy {
    @Override
    public Double getPrice(double booksPrice) {
        System.out.println("初级会员打9折");
        return booksPrice * 0.9;
    }
}
